<%@page language="java" pageEncoding="utf-8"%>
<jsp:directive.page import="java.util.*"/>
<jsp:directive.page import="com.hzlq.management.model.*"/>
<jsp:directive.page import="com.hzlq.management.db.*"/>

<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>设备管理系统</title>
<link href="<%=request.getContextPath() %>/style_css/style.css" rel="stylesheet" type="text/css" />
</head>

<body>
<script src="JS/base.js" type="text/javascript"></script>
<%
	UserLoginModel loginModel=(UserLoginModel)session.getAttribute("logoner");
	String loginName="";
	if(loginModel==null){%>
		<%@include file="/checkLoginSession.jsp"%><%
	}else{ 
		loginName=loginModel.getRealName();
	}
	CoatingLineDAO coatingDao=new CoatingLineDAO();
	String lineId=request.getParameter("lineId");
	System.out.println("lineId====="+lineId);
	CoatingLineModel coatModel=coatingDao.get(lineId);
%>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td align="left" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0" style="background:url(images/top_bg.jpg) repeat-x">
        <tr>
          <td width="515px" height="95" style="background:url(images/dingfuLogo.jpg) no-repeat"></td>
          <td background="images/top_bg.jpg"> </td>
          <td width="480" background="images/top_right.jpg"></td>
        </tr>
      </table>
      <table width="100%" border="0" cellspacing="0" cellpadding="0" style="margin-bottom:5px;">
        <tr><td width="170" height="555" align="center" valign="top" class="left_bg">
			<table width="162" border="0" cellpadding="0" cellspacing="1" bgcolor="#3F8FE9">
              <tr>
                <td height="23" background="images/left_t_bg.jpg" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td width="13" height="23" background="images/left_l.jpg"></td>
                      <td align="left" valign="middle" class="title"><div id="lefttitle">数据采集及监控</div></td>
                      <td width="19" background="images/left_t_right.jpg"></td>
                    </tr>
                  </table></td>
        </tr>
              <tr>
                <td align="center" valign="top" bgcolor="#FFFFFF"><div id="left_nav" class="left_nav"></div></td>
              </tr>
            </table>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td height="255" align="center" valign="bottom">&nbsp;</td>
              </tr>
            </table></td>
          <td width="5"></td>
          <td align="center" valign="top" bgcolor="#75AFF0"><table width="100%" border="0" cellspacing="0" cellpadding="0" style="margin-bottom:5px;">
            <tr>
              <td width="138" height="30" align="left" valign="middle" background="images/nav_left.jpg" class="nav_left"><span>&nbsp;&nbsp;<b><%=loginName %></b></span> 欢迎您！</td>
              <td align="center" valign="middle" background="images/nav_bg.jpg"><table width="660" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td width="20" height="30" align="center" valign="middle"><img src="images/nav_jg.jpg" width="3" height="30" /></td>
                    <td align="center" valign="middle" class="nav_link">
						<a href="#" onclick="initleftmenu(6,'系统概况')">系统概况</a> | 
						<a href="#" onclick="initleftmenu(2,'设备管理')">设备管理</a> | 
						<a href="#" onclick="initleftmenu(5,'视频监控')">视频监控</a> | 
						<a href="#" onclick="initleftmenu(1,'生产计划')">生产计划</a> | 
						<a href="#" onclick="initleftmenu(3,'统计报表')">统计报表</a> | 
						<a href="#" onclick="initleftmenu(7,'日志管理')">日志管理</a> | 
						<a href="#" onclick="initleftmenu(4,'系统设置')">系统设置</a> </td>
                    <td width="20" align="center" valign="middle"><img src="images/nav_jg.jpg" width="3" height="30" /></td>
                  </tr>
              </table></td>
              <td width="164" align="right" valign="middle" background="images/nav_right.jpg"><table width="138" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td width="56" align="left" valign="middle"><a href="#"><img src="images/bz.jpg" alt="使用帮助" width="56" height="30" /></a></td>
                    <td align="center" valign="middle"><img src="images/jg.jpg" width="1" height="30" /></td>
                    <td width="64" height="30" align="left" valign="middle"><a href="logon?action=logout"><img src="images/tc.jpg" alt="退出系统" width="58" height="30" onClick="if(confirm( '确定退出！ ')==false)return false; "/></a></td>
                  </tr>
              </table></td>
            </tr>
          </table>
          <table width="99%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td height="5"></td>
              </tr>
            </table>
            <table width="99%" border="0" cellspacing="0" cellpadding="0" class="right_nav">
              <tr>
                <td height="23" align="left" valign="top" background="images/title_bg.jpg"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td width="15" height="23" background="images/title_left.jpg"></td>
                      <td align="left" valign="middle" class="title">公告</td>
                      <td width="20" background="images/title_right.jpg"></td>
                    </tr>
                  </table></td>
              </tr>
              <tr>
                <td align="left" valign="top" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0" class="font1">
                    <tr>
                      <td width="75%" height="25">[公告标题] <a href="#">本系统正式使用了..........................................</a> </td>
                      <td width="25%" align="right" class="font1_time">(user 2008-04-25)</td>
                    </tr>
                  </table></td>
              </tr>
            </table>
            <table width="99%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td height="5"></td>
              </tr>
            </table>
            <table width="99%" border="0" cellspacing="0" cellpadding="0" class="right_nav">
              <tr>
                <td height="23" align="left" valign="top" background="images/title_bg.jpg"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td width="15" height="23" background="images/title_left.jpg"></td>
                      <td align="left" valign="middle" class="title">数据采集&gt;&gt;主控界面</td>
                      <td width="20" background="images/title_right.jpg"></td>
                    </tr>
                  </table></td>
              </tr>
              <tr>
                <td align="left" valign="top" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0" class="font2">
				  <tr><td height="15"></td></tr>
                  <tr>
                    <td width="99" height="25" align="right" valign="middle">涂层线:</td>
                    <td width="102" height="25" align="left" valign="middle">
                    <select name="lineId">
                        <option value="15">15#</option>
                        <option value="16">16#</option>
                        <option value="17">17#</option>
                        <option value="18">18#</option>
                        <option value="19">19#</option>
                        <option value="20">20#</option>
                        <option value="21">21#</option>
                        <option value="22">22#</option>
                      </select>
                    </td>
					<td colspan="10">
						<input type="button" name="run" value="联机(运行)"/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
						<input type="button" name="harryStop" value="1#收卷停止"/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
					  <input type="button" name="harryStop" value="2#收卷停止"/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
					  <input type="button" name="run2" value="正常"/></td>
                  </tr>
                  <tr>
                    <td width="99" height="25" align="right" valign="middle">&nbsp;</td>
                    <td width="102" align="left" valign="middle">&nbsp;</td>
                    <td width="89" height="25" align="right" valign="middle">&nbsp;</td>
                    <td width="102" align="left" valign="middle">&nbsp;</td>
                    <td align="right" valign="middle">&nbsp;</td>
                    <td height="25" align="right" valign="middle"><div align="center">实际温度</div></td>
                    <td align="left" valign="middle">设定温度</td>
                    <td align="right" valign="middle">&nbsp;</td>
                    <td height="25" align="right" valign="middle">实际温度</td>
                    <td align="left" valign="middle">设定温度</td>
                  </tr>
                  <tr>
                    <td width="99" height="25" align="right" valign="middle">实际清洗张力:</td>
                    <td width="102" align="left" valign="middle"><input  type="text" name="name" class="input3" value="<%=coatModel.getRealCleanTension() %>" readonly="readonly"/>
                      Kg</td>
                    <td width="89" height="25" align="right" valign="middle">清洗张力设定:</td>
                    <td width="102" align="left" valign="middle"><input  type="text" name="name22" class="input3" value="<%=coatModel.getSetCleanTension() %>" readonly="readonly"/>
                      Kg</td>
                    <td width="125" align="right" valign="middle">上1区</td>
                    <td width="120" height="25" align="right" valign="middle"><input name="text" type="text" value="<%=coatModel.getRealTempUpperArea1() %>" size="10" height="18"/>
                      ℃</td>
                    <td width="122" align="left" valign="middle"><input name="text2" type="text" value="<%=coatModel.getSetTempUpperArea1() %>" size="10" height="18"/>
                      ℃</td>
                    <td width="74" align="right" valign="middle">下1区</td>
                    <td width="120" height="25" align="right" valign="middle"><input name="text3" type="text" value="<%=coatModel.getRealTempLowerArea1() %>" size="10" height="18"/>
                      ℃</td>
                    <td width="113" align="left" valign="middle"><input name="text4" type="text" value="<%=coatModel.getSetTempLowerArea1() %>" size="10" height="18"/>
                      ℃</td>
                  </tr>
                  <tr>
                    <td height="30" align="right" valign="middle">实际涂布张力:</td>
                    <td align="left" valign="middle"><input  type="text" name="name22" class="input3" value="<%=coatModel.getRealCoatingTension() %>" readonly="readonly"/>
                      Kg</td>
                    <td height="30" align="right" valign="middle">涂布张力设定:</td>
                    <td  align="left" valign="middle"><input  type="text" name="name22" class="input3" value="<%=coatModel.getSetCoatingTension() %>" readonly="readonly"/>
                      Kg</td>
                    <td align="right" valign="middle">上2区</td>
                    <td height="25" align="right" valign="middle"><input name="text5" type="text" value="<%=coatModel.getRealTempUpperArea2() %>" size="10" height="18"/>
℃</td>
                    <td align="left" valign="middle"><input name="text22" type="text" value="<%=coatModel.getSetTempUpperArea2() %>" size="10" height="18"/>
℃</td>
                    <td  align="right" valign="middle">下2区</td>
                    <td  height="25" align="right" valign="middle"><input name="text32" type="text" value="<%=coatModel.getRealTempLowerArea2() %>" size="10" height="18"/>
℃</td>
                    <td  align="left" valign="middle"><input name="text211" type="text" value="<%=coatModel.getSetTempLowerArea2() %>" size="10" height="18"/>
℃</td>
                  </tr>
                  <tr>
                    <td height="30" align="right" valign="middle">实际车速:</td>
                    <td align="left" valign="middle"><input  type="text" name="name22" class="input3" value="<%=coatModel.getRealSpeed() %>" readonly="readonly"/>
                      米/分</td>
                    <td height="30" align="right" valign="middle">设定车速:</td>
                    <td align="left" valign="middle"><input  type="text" name="name22" class="input3" value="<%=coatModel.getSetSpeed() %>" readonly="readonly"/>
                      米/分</td>
                    <td align="right" valign="middle">上3区</td>
                    <td height="25" align="right" valign="middle"><input name="text6" type="text" value="<%=coatModel.getRealTempUpperArea3() %>" size="10" height="18"/>
℃</td>
                    <td align="left" valign="middle"><input name="text23" type="text" value="<%=coatModel.getSetTempUpperArea3() %>" size="10" height="18"/>
℃</td>
                    <td align="right" valign="middle">下3区 </td>
                    <td height="25" align="right" valign="middle"><input name="text33" type="text" value="<%=coatModel.getRealTempLowerArea3() %>" size="10" height="18"/>
℃</td>
                    <td align="left" valign="middle"><input name="text212" type="text" value="<%=coatModel.getSetTempLowerArea3() %>" size="10" height="18"/>
℃</td>
                  </tr>
                  <tr>
                    <td height="30" align="right" valign="middle">1#收卷张力:</td>
                    <td  align="left" valign="middle"><input  type="text" name="name22" class="input3" value="0.0" readonly="readonly"/>
                      Kg</td>
                    <td height="30" align="right" valign="middle">2#收卷张力:</td>
                    <td align="left" valign="middle"><input  type="text" name="name22" class="input3" value="0.0" readonly="readonly"/>
                      Kg</td>
                    <td align="right" valign="middle">上4区</td>
                    <td height="25" align="right" valign="middle"><input name="text7" type="text" value="<%=coatModel.getRealTempUpperArea4() %>" size="10" height="18"/>
℃</td>
                    <td align="left" valign="middle"><input name="text24" type="text" value="<%=coatModel.getSetTempUpperArea4() %>" size="10" height="18"/>
℃</td>
                    <td align="right" valign="middle">下4区</td>
                    <td height="25" align="right" valign="middle"><input name="text34" type="text" value="<%=coatModel.getRealTempLowerArea4() %>" size="10" height="18"/>
℃</td>
                    <td align="left" valign="middle"><input name="text213" type="text" value="<%=coatModel.getSetTempLowerArea4() %>" size="10" height="18"/>
℃</td>
                  </tr>
                  <tr>
                    <td height="30" align="right" valign="middle">1#收卷难度:</td>
                    <td align="left" valign="middle"><input  type="text" name="name22" class="input3" value="0.0" readonly="readonly"/>
                      %</td>
                    <td height="30" align="right" valign="middle">2#收卷难度:</td>
                    <td align="left" valign="middle"><input  type="text" name="name22" class="input3" value="0.0" readonly="readonly"/>
                      %</td>
                    <td align="right" valign="middle">上5区</td>
                    <td height="25" align="right" valign="middle"><input name="text8" type="text" value="<%=coatModel.getRealTempUpperArea5() %>" size="10" height="18"/>
℃</td>
                    <td align="left" valign="middle"><input name="text25" type="text" value="<%=coatModel.getSetTempUpperArea5() %>" size="10" height="18"/>
℃</td>
                    <td align="right" valign="middle">下5区</td>
                    <td height="25" align="right" valign="middle"><input name="text35" type="text" value="<%=coatModel.getRealTempLowerArea5() %>" size="10" height="18"/>
℃</td>
                    <td align="left" valign="middle"><input name="text214" type="text" value="<%=coatModel.getSetTempLowerArea5() %>" size="10" height="18"/>
℃</td>
                  </tr>
                  <tr>
                    <td height="30" align="right" valign="middle">1#收卷卷径:</td>
                    <td align="left" valign="middle"><input  type="text" name="name22" class="input3" value="0.0" readonly="readonly"/>
                      mm</td>
                    <td height="30" align="right" valign="middle">2#收卷卷径:</td>
                    <td align="left" valign="middle"><input  type="text" name="name22" class="input3" value="0.0" readonly="readonly"/>
                      mm</td>
                    <td align="right" valign="middle">上6区</td>
                    <td height="25" align="right" valign="middle"><input name="text9" type="text" value="<%=coatModel.getRealTempUpperArea6() %>" size="10" height="18"/>
℃</td>
                    <td align="left" valign="middle"><input name="text26" type="text" value="<%=coatModel.getSetTempUpperArea6() %>" size="10" height="18"/>
℃</td>
                    <td align="right" valign="middle">下6区</td>
                    <td height="25" align="right" valign="middle"><input name="text36" type="text" value="<%=coatModel.getRealTempLowerArea6() %>" size="10" height="18"/>
℃</td>
                    <td align="left" valign="middle"><input name="text215" type="text" value="<%=coatModel.getSetTempLowerArea6() %>" size="10" height="18"/>
℃</td>
                  </tr>
                  <tr>
                    <td height="30" align="right" valign="middle">1#收卷长度:</td>
                    <td align="left" valign="middle"><input  type="text" name="name22" class="input3" value="0" readonly="readonly"/>
                      M</td>
                    <td height="30" align="right" valign="middle">2#收卷长度:</td>
                    <td align="left" valign="middle"><input  type="text" name="name22" class="input3" value="0" readonly="readonly"/>
                      M</td>
                    <td align="right" valign="middle">碱洗1</td>
                    <td height="25" align="right" valign="middle"><input name="text10" type="text" value="0" size="10" height="18"/>
℃</td>
                    <td align="left" valign="middle"><input name="text27" type="text" value="0" size="10" height="18"/>
℃</td>
                    <td align="right" valign="middle">热&nbsp;洗</td>
                    <td height="25" align="right" valign="middle"><input name="text37" type="text" value="0" size="10" height="18"/>
℃</td>
                    <td align="left" valign="middle"><input name="text216" type="text" value="0" size="10" height="18"/>
℃</td>
                  </tr>
                  <tr>
                    <td height="30" align="right" valign="middle">输出张力:</td>
                    <td align="left" valign="middle"><input  type="text" name="name22" class="input3" value="0" readonly="readonly"/>
                      Kg</td>
                    <td height="30" align="right" valign="middle">输出张力:</td>
                    <td align="left" valign="middle"><input  type="text" name="name22" class="input3" value="0" readonly="readonly"/>
                      Kg</td>
                    <td align="right" valign="middle">碱洗2</td>
                    <td height="25" align="right" valign="middle"><input name="text11" type="text" value="0" size="10" height="18"/>
℃</td>
                    <td align="left" valign="middle"><input name="text28" type="text" value="0" size="10" height="18"/>
℃</td>
                    <td align="right" valign="middle">小烘箱</td>
                    <td height="25" align="right" valign="middle"><input name="text38" type="text" value="0" size="10" height="18"/>
℃</td>
                    <td align="left" valign="middle"><input name="text217" type="text" value="0" size="10" height="18"/>
℃</td>
                  </tr>
                  <tr>
                    <td height="30" align="right" valign="middle">板厚:</td>
                    <td align="left" valign="middle"><input  type="text" name="name22" class="input3" value="0.000" readonly="readonly"/>
                      mm</td>
                    <td width="89" height="30" align="right" valign="middle" colspan="8">&nbsp;</td>
                  </tr>
                  <tr>
                    <td height="30" align="right" valign="middle"></td>
                    <td align="left" valign="middle">&nbsp;</td>
					<td colspan="8" align="right"></td>
                  </tr>
                </table></td>
              </tr>
            </table>
            <table width="99%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td height="5"></td>
              </tr>
            </table>
            <table width="99%" border="0" cellpadding="0" cellspacing="0" bgcolor="#6BAAEF" class="table">
              <tr align="center" valign="middle">
                <th width="6%" height="23" background="images/title_bg.jpg">1#放卷</th>
                <th width="6%" background="images/title_bg.jpg">2#放卷</th>
                <th width="6%" background="images/title_bg.jpg">导棍</th>
                <th width="6%" background="images/title_bg.jpg">张力牵</th>
                <th width="6%" background="images/title_bg.jpg">底匀1</th>
                <th width="6%" background="images/title_bg.jpg">底涂1</th>
                <th width="6%" background="images/title_bg.jpg">底匀2</th>
                <th width="6%" background="images/title_bg.jpg">底涂2</th>
                <th width="6%" background="images/title_bg.jpg">面匀1</th>
                <th width="6%" background="images/title_bg.jpg">面涂1</th>
                <th width="6%" background="images/title_bg.jpg">面匀2</th>
                <th width="6%" background="images/title_bg.jpg">面涂2</th>
                <th width="6%" background="images/title_bg.jpg">主牵引</th>
                <th width="6%" background="images/title_bg.jpg">1#收卷</th>
                <th width="6%" background="images/title_bg.jpg">2#收卷</th>
              </tr>
              <tr valign="middle" bgcolor="#FFFFFF">
                <td><img width="23" height="23" title="yes"/></td>
                <td><img width="23" height="23" title="yes"/></td>
                <td><img width="23" height="23" title="yes"/></td>
                <td><img width="23" height="23" title="yes"/></td>
                <td><img width="23" height="23" title="yes"/></td>
                <td><img width="23" height="23" title="yes"/></td>
                <td><img width="23" height="23" title="yes"/></td>
                <td><img width="23" height="23" title="yes"/></td>
                <td><img width="23" height="23" title="yes"/></td>
                <td><img width="23" height="23" title="yes"/></td>
                <td><img width="23" height="23" title="yes"/></td>
                <td><img width="23" height="23" title="yes"/></td>
                <td><img width="23" height="23" title="yes"/></td>
                <td><img width="23" height="23" title="yes"/></td>
                <td><img width="23" height="23" title="yes"/></td>
              </tr>
              <tr valign="middle" bgcolor="#FFFFFF">
                <td colspan="4"></td>
                <td><input  type="text" name="name2" class="input5" value="0.0" readonly/> 米/分</td>
                <td><input  type="text" name="name2" class="input5" value="0.0" readonly/> 米/分</td>
                <td><input  type="text" name="name2" class="input5" value="0.0" readonly/> 米/分</td>
                <td><input  type="text" name="name2" class="input5" value="0.0" readonly/> 米/分</td>
                <td><input  type="text" name="name2" class="input5" value="0.0" readonly/> 米/分</td>
                <td><input  type="text" name="name2" class="input5" value="0.0" readonly/> 米/分</td>
                <td><input  type="text" name="name2" class="input5" value="0.0" readonly/> 米/分</td>
                <td><input  type="text" name="name27" class="input5" value="0.0" readonly="readonly"/>
米/分</td>
                <td colspan="3"></td>
              </tr>
             
              <tr>
                <td height="25" colspan="20" align="right" valign="middle" bgcolor="#FFFFFF" style="text-align:right; padding-right:10px;"  class="table_font"><span class="STYLE2"><a href="#">更多&gt;&gt;</a>&nbsp;&nbsp;&nbsp;&nbsp;</span></td>
              </tr>
            </table>
		  </td>
        </tr>
      </table>
      <table width="100%" border="0" cellpadding="0" cellspacing="0" background="images/footer_bg.jpg">
        <tr>
          <td width="20" height="26" align="center" valign="middle"><a href="#"><img src="images/hide.jpg" width="11" height="11" /></a></td>
          <td align="left" valign="middle"><a href="#">隐藏</a> | <a href="#">打印该页</a></td>
          <td width="230" align="center" valign="middle">2011 浙江省鼎胜铝业 版权所有</td>
        </tr>
      </table></td>
  </tr>
</table><script language="javascript">  
    new Menu('nav');   
</script> 
</body>
</html>
